﻿using System;
using CNKI.Graduate.Framework.Cache;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace CNKI.Graduate.Framework.test
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            string key = "my";
            string value = "123";
            CacheHelper.Set(key, value);

            var s = CacheHelper.Get(key);
            Assert.AreEqual(s,value);
        }
    }
}
